<?php
include("config.php");
if (isset($_COOKIE["ImOnline"])){
	//print($_COOKIE["ImOnline"]);
	//print("Welcome back " . $_COOKIE["Username"]);
} else {
	header( 'Location: index.php?error=You have no access to this page' );
	die("<center><br><br><br><img src=\"img/logo.jpg\" \><br>Your webbrowser dont support redirecting.<br>You have no access to this page. <br><a href=\"index.php\">Please go to main page</a></center>");
	//print($_COOKIE["imonline"]);
	};
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="css/default.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Home - Garrysmod Web</title>
</head>

<body>
<div id="page-wrap">
<?php
include("includes/header.html");
?>
<p>Android:<br />
To check logs, ban requests and players Kill/Death raito you can download our android app<br /><br />
Download:<br />
<a href="android/gmodadmintools_1_5.apk">Android 1.5</a><br />
<a href="android/gmodadmintools_2_1.apk">Android 2.1</a><br /><br />
How to install and use:<br />
First go to Settings -> Applications and mark Unknown Sources<br />
then download the application to the android version you have and install it.<br />
When the app is installed start it and go to options.<br />
Enter your username and password you have on this site.<br />
Then enter this url in the "API-URL" field: <?php
print($URL."/android/api.php");
?><br />
Then your done!
</p>
</div>
<div id="footer"">
<p>Copyright&copy; 2010 Gameweb.se<br>Gameweb Admin Tool</p>
</div>
</body>
</html>